export const LANG_MAP = {
  'zh-TW': 'zh_TW',
  'zh-CN': 'zh_CN',
  'vi-VN': 'vi_VN',
  'my-MM': 'my_MM',
  'id-ID': 'id_ID',
  'km-KH': 'km_KH',
  'en-US': 'en_US'
} as const;

// 获取文件夹名称
export const getFolderName = (langCode: keyof typeof LANG_MAP) => {
  return LANG_MAP[langCode];
};

// 获取语言代码
export const getLangCode = (folderName: (typeof LANG_MAP)[keyof typeof LANG_MAP]) => {
  return Object.entries(LANG_MAP).find(([_, value]) => value === folderName)?.[0];
};
